﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="MasterTypes.aspx.cs" Inherits="VMS_Web_UI.MasterScreens.MasterTypes" EnableEventValidation="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
   
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="server">
        <%--<div class="span9" id="content">--%>
                    
             <div class="row-fluid">
                        <!-- block -->
                        <div class="block">
                            <div class="navbar navbar-inner block-header">
                                <div class="muted pull-left">Master Item Types</div>
                            </div>
                            <div class="block-content collapse in">
                                <div class="span12">
                                   <%-- <form class="form-horizontal">--%>
                                      <fieldset>
                                        <legend>Master Item Details</legend>
                                          
                                          <div class="control-group">
                                          <asp:DataGrid ID="grdmasteritemdetails" CssClass="table" runat="server" AutoGenerateColumns="false" AllowPaging="true" PageSize="10">
                                              <Columns>
                                                  <asp:BoundColumn  DataField="Master_Item" ReadOnly="True" HeaderText="Item"/>
                                                  <asp:BoundColumn  DataField="Item_Desc" ReadOnly="True" HeaderText="Item-Desc " ItemStyle-Wrap="false"/>
                                                  <asp:TemplateColumn HeaderText="Edit Item">
                                                      <ItemTemplate>
                                                     <a class="btn btn-primary" href='<%#RedirectForEdit(Eval("Master_Item").ToString(),Eval("Item_Desc").ToString())%>' ><i class="icon-pencil icon-white"></i>Edit</a>
                                                      </ItemTemplate>
                                                    </asp:TemplateColumn>

                                                   <asp:TemplateColumn HeaderText="Delete Item">
                                                      <ItemTemplate>
                                                      <a class="btn btn-primary" href='<%#RedirectForDelete(Eval("Master_Item").ToString())%>' ><i class="icon-remove icon-white"></i>Delete</a>
                                                      </ItemTemplate>
                                                  </asp:TemplateColumn>
                                               
                                              </Columns>
                                           </asp:DataGrid>
                                          </div>

                                          <div class="control-group">
                                          <label class="control-label" for="typeahead">Master Item</label>
                                         
                                           <div class="controls">
                                            <input type="text" class="span6" id ="txtmastertitemtype" placeholder="Enter Master item type" runat="server"/>
                                                
                                             </div>

                                          </div>
                                  
                                          
                                          <div class="control-group">
                                          <label class="control-label" for="typeahead">Master Item Description</label>
                                          <div class="controls">
                                            <input type="text" class="span6" id ="txtmastertitemdesc" placeholder="Enter Master description" runat="server"/>
                                           </div>
                                          </div>
                                        

                                          <div class="form-actions">
                                          <button type="submit" class="btn btn-primary">Save changes</button>
                                          <button type="reset" class="btn">Cancel</button>
                                        </div>
                                      </fieldset>
                                   <%-- </form>--%>

                                </div>
                            </div>
                        </div>
                        <!-- /block -->
                    </div>

        <%--</div>--%>

    
</asp:Content>
